<template>
<div class="Main">
  <topHeader></topHeader>
  <topMenu></topMenu>
  <div class="router-view">
    <router-view :key="$router.currentRoute.fullPath"/>
  </div>
</div>
</template>

<script>
import topMenu from "@/views/Main/module/topMenu";
import topHeader from "@/views/Main/module/topHeader";
export default {
  name: "Main",
  components:{
    topMenu,topHeader
  },
}
</script>

<style scoped lang="less">
.Main{
  min-width: 1200px;
  width: 100%;
  height: 100%;
  background-color: #F3F4F6 ;
  .router-view{
    width: 100%;
    height: calc(100% - 14.4rem);
    overflow-y: auto;
  }
}

</style>
